import java.util.*;
import javax.swing.*;
/**
 * La clase Resources administra los íconos usados 
 * en toda la interfaz gráfica. A cada ícono se le asigna un
 * nombre clave con el que es llamado.
 */
public class Resources extends ListResourceBundle
{
    /**
     * Construye un nuevo objeto Resources
     */
    public Resources(){}
    /**
     * Retorna un arreglo de objetos donde cada elemento es una 
     * pareja formada por una cadena de texto y un ícono
     * @return un arreglo de objetos
     */
    protected Object[][] getContents()
    {
        return contents;  
    }
    private static final String iconsPath = 
        "C:\\Proyectos\\cnc\\ui\\platform\\javakiosk\\src\\icons\\530x320\\";
//        "/home/sed/CNC/ui/platform/javakiosk/src/icons/";
    private static final String iconsKPath = 
        "C:\\Proyectos\\cnc\\ui\\platform\\javakiosk\\src\\icons\\keyboard_us\\530x320\\";
        //"/home/sed/CNC/ui/platform/javakiosk/src/icons/keyboard_us/";
    private static final Object[][] contents =
    {
        {"negative_x",new ImageIcon(iconsPath+"negative_x.png")},
        {"negative_y",new ImageIcon(iconsPath+"negative_y.png")},
        {"negative_z",new ImageIcon(iconsPath+"negative_z.png")},
        {"positive_x",new ImageIcon(iconsPath+"positive_x.png")},
        {"positive_y",new ImageIcon(iconsPath+"positive_y.png")},
        {"positive_z",new ImageIcon(iconsPath+"positive_z.png")},
        {"compile",new ImageIcon(iconsPath+"compile.png")},
        {"edit",new ImageIcon(iconsPath+"edit.png")},
        {"redo",new ImageIcon(iconsPath+"redo.png")},
        {"undo",new ImageIcon(iconsPath+"undo.png")},
        {"saveAs",new ImageIcon(iconsPath+"saveAs.png")},
        {"save",new ImageIcon(iconsPath+"save.png")},
        {"open",new ImageIcon(iconsPath+"open.png")},
        {"new",new ImageIcon(iconsPath+"new.png")},
        {"update",new ImageIcon(iconsPath+"update.png")},
        {"rename",new ImageIcon(iconsPath+"rename.png")},
        {"delete",new ImageIcon(iconsPath+"delete.png")},
        {"paste",new ImageIcon(iconsPath+"paste.png")},
        {"copy",new ImageIcon(iconsPath+"copy.png")},
        {"ok",new ImageIcon(iconsPath+"ok.png")},
        {"cancel",new ImageIcon(iconsPath+"cancel.png")},
        {"auto",new ImageIcon(iconsPath+"GreenBall.png")},
        {"stop",new ImageIcon(iconsPath+"RedBall.png")},
        {"continue",new ImageIcon(iconsPath+"GreenBall.png")},
        {"reverse",new ImageIcon(iconsPath+"rotateLeft.png")},
        {"normal",new ImageIcon(iconsPath+"rotateRight.png")},
        {"disabled",new ImageIcon(iconsPath+"RedBall.png")},
        {"enabled",new ImageIcon(iconsPath+"GreenBall.png")},
        {"positive",new ImageIcon(iconsPath+"positive.png")},
        {"negative",new ImageIcon(iconsPath+"negative.png")},
        {"VK_CLEAR",new ImageIcon(iconsKPath+"VK_CLEAR.png")},
        {"VK_1",new ImageIcon(iconsKPath+"VK_1.png")},
        {"VK_2",new ImageIcon(iconsKPath+"VK_2.png")},
        {"VK_3",new ImageIcon(iconsKPath+"VK_3.png")},
        {"VK_4",new ImageIcon(iconsKPath+"VK_4.png")},
        {"VK_5",new ImageIcon(iconsKPath+"VK_5.png")},
        {"VK_6",new ImageIcon(iconsKPath+"VK_6.png")},
        {"VK_7",new ImageIcon(iconsKPath+"VK_7.png")},
        {"VK_8",new ImageIcon(iconsKPath+"VK_8.png")},
        {"VK_9",new ImageIcon(iconsKPath+"VK_9.png")},
        {"VK_0",new ImageIcon(iconsKPath+"VK_0.png")},
        {"VK_QUOTE",new ImageIcon(iconsKPath+"VK_QUOTE.png")},
        {"VK_DEAD_TILDE",new ImageIcon(iconsKPath+"VK_DEAD_TILDE.png")},
        {"VK_BACK_SPACE",new ImageIcon(iconsKPath+"VK_BACK_SPACE.png")},
        {"VK_TAB",new ImageIcon(iconsKPath+"VK_TAB.png")},
        {"VK_Q",new ImageIcon(iconsKPath+"VK_Q.png")},
        {"VK_W",new ImageIcon(iconsKPath+"VK_W.png")},
        {"VK_E",new ImageIcon(iconsKPath+"VK_E.png")},
        {"VK_R",new ImageIcon(iconsKPath+"VK_R.png")},
        {"VK_T",new ImageIcon(iconsKPath+"VK_T.png")},
        {"VK_Y",new ImageIcon(iconsKPath+"VK_Y.png")},
        {"VK_U",new ImageIcon(iconsKPath+"VK_U.png")},
        {"VK_I",new ImageIcon(iconsKPath+"VK_I.png")},
        {"VK_O",new ImageIcon(iconsKPath+"VK_O.png")},
        {"VK_P",new ImageIcon(iconsKPath+"VK_P.png")},
        {"VK_DEAD_GRAVE",new ImageIcon(iconsKPath+"VK_DEAD_GRAVE.png")},
        {"VK_PLUS",new ImageIcon(iconsKPath+"VK_PLUS.png")},
        {"VK_ENTER",new ImageIcon(iconsKPath+"VK_ENTER.png")},
        {"VK_CAPS_LOCK",new ImageIcon(iconsKPath+"VK_CAPS_LOCK.png")},
        {"VK_A",new ImageIcon(iconsKPath+"VK_A.png")},
        {"VK_S",new ImageIcon(iconsKPath+"VK_S.png")},
        {"VK_D",new ImageIcon(iconsKPath+"VK_D.png")},
        {"VK_F",new ImageIcon(iconsKPath+"VK_F.png")},
        {"VK_G",new ImageIcon(iconsKPath+"VK_G.png")},
        {"VK_H",new ImageIcon(iconsKPath+"VK_H.png")},
        {"VK_J",new ImageIcon(iconsKPath+"VK_J.png")},
        {"VK_K",new ImageIcon(iconsKPath+"VK_K.png")},
        {"VK_L",new ImageIcon(iconsKPath+"VK_L.png")},
        {"VK_DEAD_DOUBLEACUTE",new ImageIcon(iconsKPath+"VK_DEAD_DOUBLEACUTE.png")},
        {"VK_DEAD_DIAERESIS",new ImageIcon(iconsKPath+"VK_DEAD_DIAERESIS.png")},
        {"VK_DEAD_BREVE",new ImageIcon(iconsKPath+"VK_DEAD_BREVE.png")},
        {"VK_LESS",new ImageIcon(iconsKPath+"VK_LESS.png")},
        {"VK_Z",new ImageIcon(iconsKPath+"VK_Z.png")},
        {"VK_X",new ImageIcon(iconsKPath+"VK_X.png")},
        {"VK_C",new ImageIcon(iconsKPath+"VK_C.png")},
        {"VK_V",new ImageIcon(iconsKPath+"VK_V.png")},
        {"VK_B",new ImageIcon(iconsKPath+"VK_B.png")},
        {"VK_N",new ImageIcon(iconsKPath+"VK_N.png")},
        {"VK_M",new ImageIcon(iconsKPath+"VK_M.png")},
        {"VK_COMMA",new ImageIcon(iconsKPath+"VK_COMMA.png")},
        {"VK_PERIOD",new ImageIcon(iconsKPath+"VK_PERIOD.png")},
        {"VK_DEAD_ABOVEDOT",new ImageIcon(iconsKPath+"VK_DEAD_ABOVEDOT.png")},
        {"VK_SHIFT",new ImageIcon(iconsKPath+"VK_SHIFT.png")},
        {"VK_SHIFT_PRESS",new ImageIcon(iconsKPath+"VK_SHIFT_PRESS.png")},
        {"VK_CONTROL",new ImageIcon(iconsKPath+"VK_CONTROL.png")},
        {"VK_CONTROL_PRESS",new ImageIcon(iconsKPath+"VK_CONTROL_PRESS.png")},
        {"VK_ALT",new ImageIcon(iconsKPath+"VK_ALT.png")},
        {"VK_ALT_PRESS",new ImageIcon(iconsKPath+"VK_ALT_PRESS.png")},
        {"VK_SPACE",new ImageIcon(iconsKPath+"VK_SPACE.png")},
        {"VK_ALT_GRAPH",new ImageIcon(iconsKPath+"VK_ALT_GRAPH.png")},
        {"VK_ALT_GRAPH_PRESS",new ImageIcon(iconsKPath+"VK_ALT_GRAPH_PRESS.png")},
        {"VK_HOME",new ImageIcon(iconsKPath+"VK_HOME.png")},
        {"VK_UP",new ImageIcon(iconsKPath+"VK_UP.png")},
        {"VK_PAGE_UP",new ImageIcon(iconsKPath+"VK_PAGE_UP.png")},
        {"VK_END",new ImageIcon(iconsKPath+"VK_END.png")},
        {"VK_LEFT",new ImageIcon(iconsKPath+"VK_LEFT.png")},
        {"VK_DOWN",new ImageIcon(iconsKPath+"VK_DOWN.png")},
        {"VK_PAGE_DOWN",new ImageIcon(iconsKPath+"VK_PAGE_DOWN.png")},
        {"VK_RIGHT",new ImageIcon(iconsKPath+"VK_RIGHT.png")},
        {"VK_BACK_QUOTE",new ImageIcon(iconsKPath+"VK_BACK_QUOTE.png")},
        {"VK_BACK_SLASH",new ImageIcon(iconsKPath+"VK_BACK_SLASH.png")},
        {"VK_CLOSE_BRACKET",new ImageIcon(iconsKPath+"VK_CLOSE_BRACKET.png")},
        {"VK_OPEN_BRACKET",new ImageIcon(iconsKPath+"VK_OPEN_BRACKET.png")},
        {"VK_EQUALS",new ImageIcon(iconsKPath+"VK_EQUALS.png")},
        {"VK_SEMICOLON",new ImageIcon(iconsKPath+"VK_SEMICOLON.png")},
        {"VK_SLASH",new ImageIcon(iconsKPath+"VK_SLASH.png")},
        {"VK_MINUS",new ImageIcon(iconsKPath+"VK_MINUS.png")}
    };
}
